package com.wyy.service;

import com.wyy.beans.User;
import com.wyy.common.Result;

public interface UserService {

    Result<User> login(User user);

    Result<String> loginOut();

    Result<User> addUser(User user);

    Result<User> deleteUser(long uid);

    Result<User> updateUser(User user);

    Result<User> getUserByTelephoneNumber(String telephoneNumber);

    Result<User> getUserById(long id);

}
